<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>添加客户</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="${pageContext.request.contextPath}/css/Style.css" type=text/css rel=stylesheet>
    <link href="${pageContext.request.contextPath}/css/Manage.css" type=text/css
          rel=stylesheet>


    <meta content="MSHTML 6.00.2900.3492" name=GENERATOR>
</head>
<body>
<form id=form1 name=form1 action="${pageContext.request.contextPath}/updateCutomerById"  method="get">
    <input type="hidden" name="custId" value="${cst.cust_id}"/>

    <table cellSpacing=0 cellPadding=0 width="98%" border=0>
        <tbody>
        <tr>
            <td width=15><img src="${pageContext.request.contextPath}/images/new_019.jpg"
                              border=0></td>
            <td width="100%" background="${pageContext.request.contextPath}/images/new_020.jpg"
                height=20></td>
            <td width=15><img src="${pageContext.request.contextPath}/images/new_021.jpg"
                              border=0></td>
        </tr>
        </tbody>
    </table>
    <table cellSpacing=0 cellPadding=0 width="98%" border=0>
        <tbody>
        <tr>
            <td width=15 background="${pageContext.request.contextPath}/images/new_022.jpg"><img
                    src="${pageContext.request.contextPath}/images/new_022.jpg" border=0></TD>
            <td vAlign=top width="100%" bgColor=#ffffff>
                <table cellSpacing=0 cellPadding=5 width="100%" border=0>
                    <tr>
                        <td class=manageHead>当前位置:客户管理 &gt; 修改客户</td>
                    </tr>
                    <tr>
                        <td height=2></td>
                    </tr>
                </table>
                <table cellSpacing=0 cellPadding=5 border=0>
                    <tr>
                        <td>客户名称:</td>
                        <td><input class=textbox style="WIDTH: 180px" maxLength=50 name="custName"
                                   value="${cst.cust_name}"></td>
                        <td>客户来源:</td>
                        <td>
                            <select name="custSource">
                                <c:if test="${cst.cust_source == '电话营销'}">
                                    <option value="电话营销" selected>电话营销</option>
                                    <option value="网络营销">网络营销</option>
                                </c:if>
                                <c:if test="${cst.cust_source == '网络营销'}">
                                    <option value="电话营销">电话营销</option>
                                    <option value="网络营销" selected>网络营销</option>
                                </c:if>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>所属行业 :</td>
                        <td>
                            <select name="custIndustry">
                                <c:if test="${cst.cust_industry == '教育培训'}">
                                    <option value="教育培训" selected>教育培训</option>
                                    <option value="电子商务">电子商务</option>
                                </c:if>
                                <c:if test="${cst.cust_industry == '电子商务'}">
                                    <option value="教育培训">教育培训</option>
                                    <option value="电子商务" selected>电子商务</option>
                                </c:if>
                            </select>
                        </td>
                        <td>客户级别:</td>
                        <td>
                            <select name="custLevel">
                                <c:if test="${cst.cust_level == '普通客户'}">
                                    <option value="普通客户" selected>普通客户</option>
                                    <option value="VIP客户">VIP客户</option>
                                </c:if><c:if test="${cst.cust_level == 'VIP客户'}">
                                <option value="普通客户">普通客户</option>
                                <option value="VIP客户" selected>VIP客户</option>
                            </c:if>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>固定电话:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px" maxLength=50 name="custPhone" value="${cst.cust_phone}"></td>
                        <td>移动电话:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px" maxLength=50 name="custMobile"  value="${cst.cust_mobile}"></td>
                    </tr>
                    <tr>
                        <td>客户地区:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px" maxLength=50 name="custRegion" value="${csts.cust_region}"></td>
                        <td>注册资金:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px" maxLength=50 name="custCapital"  value="${csts.cust_capital}"></td>
                    </tr>
                    <tr>
                        <td>联系地址:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px" maxLength=50 name="custAddress"  value="${csts.cust_address}">
                        </td>
                        <td>邮政编码:</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"  maxLength=50 name="custZip" value="${csts.cust_zip}">
                        </td>
                    </tr>
                    <tr>
                        <td>客户传真 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custFax" value="${csts.cust_fax}">
                        </td>
                        <td>客户网址 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custWebsite" value="${csts.cust_website}">
                        </td>
                    </tr>
                    <tr>
                        <td>客户营业执照注册号 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custLicence" value="${csts.cust_licence}">
                        </td>
                        <td>客户资质图片 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custPic" type="file" value="${csts.cust_pic}">
                        </td>
                    </tr>
                    <tr>
                        <td>注册资金 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custCapital" value="${csts.cust_capital}">
                        </td>
                        <td>开户银行及银行 :</td>
                        <td><input class=textbox id=sChannel2 style="WIDTH: 180px"
                                   maxLength=50 name="custMemo" value="${csts.cust_bank}">
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="2"><input class="button" id="sButton2" type="submit"
                                               value=" 保存 " name="sButton2">
                        </td>
                    </tr>
                </table>


            </td>
            <td width=15 background="${pageContext.request.contextPath}/images/new_023.jpg">
                <img src="${pageContext.request.contextPath}/images/new_023.jpg" border=0></TD>
        </tr>
        </tbody>
    </table>
    <table cellSpacing=0 cellPadding=0 width="98%" border=0>
        <tbody>
        <tr>
            <td width=15><img src="${pageContext.request.contextPath}/images/new_024.jpg"
                              border=0></td>
            <td align=middle width="100%"
                background="${pageContext.request.contextPath}/images/new_025.jpg" height=15></td>
            <td width=15><img src="${pageContext.request.contextPath}/images/new_026.jpg"
                              border=0></td>
        </tr>
        </tbody>
    </table>
</form>
</body>
</html>
